home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 2
/
Apprentice-Release2.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.18
/
Source
/
Dialog Item Stuff
/
SkelSetDlogProc.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-11-03
|
377 b
|
22 lines
|
[
TEXT/KAHL
]
/*
* Set procedure associated with dialog user item.
*
* If you are passing compiling PowerPC code, proc should be a pointer to
* a routine descriptor.
*/
# include "TransSkel.h"
pascal void
SkelSetDlogProc (DialogPtr d, short item, UserItemUPP proc)
{
short type;
Handle h;
Rect r;
GetDItem (d, item, &type, &h, &r);
SetDItem (d, item, type, (Handle) proc, &r);
}